<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use App\User;
use App\Models\Cart;
class CaitCart extends Model
{
    public function user()
    {
        return $this->hasOne(User::class, 'id', 'user_id');
    }
	
	public function cart()
    {
        return $this->hasOne(Cart::class, 'id', 'item_id');
    }
}
